package com.hnas.eCard.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.hnas.eCard.dao.CardOptLogDAO;
import com.hnas.eCard.orm.CardOptLog;
import com.hnas.eCard.service.CardOptLogService;

@Component("cardOptLogService")
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class CardOptLogServiceImpl implements CardOptLogService {
	
	@Autowired
	private CardOptLogDAO cardOptLogDAO;
	
	@Override
	public CardOptLog saveOrUpdate(CardOptLog vo) {
		return this.cardOptLogDAO.saveOrUpdate(vo);
	}

}
